//
//  SEGActivityLotteryRotateView.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/15.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGActivityLotteryPrizeModel.h"

typedef void(^SEGRotateGiftBlock) (SEGActivityLotteryPrizeModel* result , BOOL isClickButton);

@interface SEGActivityLotteryRotateView : UIView <CAAnimationDelegate>
/*
 数据集合
 */
@property (nonatomic, strong)NSArray *rotateData;
-(instancetype)initWithFrame:(CGRect)frame dataSource:(NSArray<SEGActivityLotteryPrizeModel*>*)data finished:(SEGRotateGiftBlock)block;
/**
 构造函数 新增 谢谢参与缺省链接
 
 @author Sam
 @version 4.6.0
 */
-(instancetype)initWithFrame:(CGRect)frame dataSource:(NSArray<SEGActivityLotteryPrizeModel*>*)data placehoder:(NSString*)placehoder  finished:(SEGRotateGiftBlock)block;
-(void)startAnimation:(NSString*)data;
-(void)stopAtMiddle;
@end
